<?php
	require ('../Signature.php');
	
	function signTest() {
		$signParam = new SignParam ( "/xstore-vod/video/search", "ak", "sk", "Thu, 26 Mar 2020 02:28:05 GMT", "POST", null );
		$signature = new Signature ();
		$sign = $signature->sign ( $signParam );
		var_dump ( $sign );//打印结果
		var_dump($signature->getZoneDateTime());
	}
	
	signTest ();
?>
